import request from '../../utils/request.js'
const LoginApi = {
	// 发送验证码
	send(params) {
		let data = {
			data: params,
		};
		return request("/api/Auth/send_sms", "POST", data)
	},
	// 注册
	register(params) {
		let data = {
			data: params,
		};
		return request("/api/Auth/register", "POST", data)
	},
	// 登录
	login(params) {
		let data = {
			data: params,
		};
		return request("/api/Auth/login", "POST", data)
	},
	// 忘记密码
	forgetPassword(params) {
		let data = {
			data: params,
		};
		return request("/api/Auth/forget_password", "POST", data)
	}
}
export default LoginApi